doctype html
html(ng-app='messageapi')
  head
    title= title
    link(rel='stylesheet', href='/stylesheets/style.css')
    script(src='/javascripts/jquery-2.1.4.min.js')
    script(src='/javascripts/angular.js')
    script(src='/javascripts/angular-resource.js')
    script(src='/javascripts/angular-route.js')
    script(src='/javascripts/angular-cookies.js')
    script(src='/javascripts/bootstrap-datetimepicker.min.js')
    script(src='/javascripts/bootstrap-datetimepicker.zh-CN.js')
    script(src='/javascripts/manage.js')
    script(src='/javascripts/md5.js')
    link(rel='stylesheet', href="/stylesheets/bootstrap.min.css")
    link(rel='stylesheet',href="/stylesheets/bootstrap-datetimepicker.min.css")
  body(ng-controller='ParentCtrl')
    .home-container.index
      nav.navbar.top-navbar.navbar-fixed-top
        .container
          .navbar-header
            a.navbar-brand(href='javascript:void(0)') 短信管理平台
          .collapse.navbar-collapse
            ul.nav.navbar-nav.pull-right
              li
                a(href='javascript:void(0)') {{username}}
              li
                a(href='javascript:void(0)', ng-click='logout()') 注销
      .page-container
        .page-sidebar.navbar.navbar-collapse
          ul.page-sidebar-menu
            li.start
              a(href='/#/index') 短信发送情况
              ul.sub-menu
                li
                  a(href='/#/statistic') 信息发送统计
                li
            li
              a(href='/#/userinfo') 商户管理
              ul.sub-menu
                li
                  a(href='/#/addUser') 添加商户
                li
                  a(href='/#/usable') 合同期内
                li
                  a(href='/#/expired') 合同过期
                li
                  a(href='/#/unused') 待使用商号
            li
              a(href='/#/upMessage') 上行短信接收情况
            li
              a(href='/#/sendUsers') 用户管理
              ul.sub-menu
                li
                  a(href='/#/addSendUser') 添加用户
        .page-content
          block content